
package podcastbyphone.client;

import podcastbyphone.client.Constants;

public enum Podcast
{
	NPR_MUSIC("NPR Music", Constants.NPR_PODCAST_BASE + "1039"), 
	NPR_TECHNOLOGY("NPR Technology", Constants.NPR_PODCAST_BASE + "1019"), 
	NPR_NEWS_SUMMARY("NPR hourly news summary", Constants.NPR_PODCAST_BASE + "500005"),
	NPR_PLANET_MONEY("NPR planet money", Constants.NPR_PODCAST_BASE + "510289"),
	NPR_SCIENCE_FRIDAY("NPR science friday", Constants.NPR_PODCAST_BASE + "510221"),
	NPR_STORY_OF_THE_DAY("NPR story of the day", Constants.NPR_PODCAST_BASE + "1090"),
	LIVEWIRE("Live wire", "http://feeds.feedburner.com/livewireradio"),
	THIS_AMERICAN_LIFE("This American Life", "http://feeds.thisamericanlife.org/talpodcast?format=xml"),
	OPB_THINK_OUT_LOUD("OPB Think Out Loud", "http://www.opb.org/programs/podcast.php?tol");
	
	private String url;
	private String description;
	
	
	Podcast(String desc, String podcastUrl)
	{
		this.description = desc;
		this.url = podcastUrl;
	}
	
	public String getUrl()
	{
		return this.url;
	}
	
	public String getDescription()
	{
		return this.description;
	}

	public String toString()
	{
		return this.getDescription();
	}
}
